package com.ylr.user.framework.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2021-09-26 22:09:00
 * className: HistoryPasswordEntity 用户历史密码表实体类
 * version: 1.0
 * description:
 * 	用户历史密码表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("yu_history_password")
public class HistoryPasswordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键值
	 */
	@TableId
	private Long id;

	/**
	 * 用户主键
	 */
	private Long userId;

	/**
	 * 用户旧密码
	 */
	private String password;

	/**
	 * 创建时间
	 */
	private Date createTime;

}
